package com.woniuxy.service.Impl;

import com.woniuxy.dao.BeforeLoanDao;
import com.woniuxy.entity.BeforeQueryData;
import com.woniuxy.entity.LoanExamLogData;
import com.woniuxy.entity.UserYewuDate;
import com.woniuxy.service.BeforeLoanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BeforeLoanServiceImpl implements BeforeLoanService {
    @Autowired
    private BeforeLoanDao beforeLoanDao;
    @Override
    public List<UserYewuDate> listapply() {
        List<UserYewuDate> list = beforeLoanDao.listapply();
        return list;
    }

    @Override
    public List<UserYewuDate> queryapply(BeforeQueryData datas) {
        List<UserYewuDate> list = beforeLoanDao.queryapply(datas);
        return list;
    }

    @Override
    public List<UserYewuDate> listbefore() {
        List<UserYewuDate> list = beforeLoanDao.listbefore();
        return list;
    }

    @Override
    public List<UserYewuDate> querybefore(BeforeQueryData datas) {
        List<UserYewuDate> list = beforeLoanDao.querybefore(datas);
        return list;
    }

    @Override
    public List<LoanExamLogData> listexamlog(int id) {
        List<LoanExamLogData> list = beforeLoanDao.listexamlog(id);
        return list;
    }
}
